From 3dba7e4d5054434e56307da9d39cc3075349c687 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 20 Feb 2007 20:51:15 +0000 Subject: [PATCH] Fix gdb v3 error. --- gdb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb.c b/gdb.c index 2231f6665..e2c23825c 100644 --- a/gdb.c +++ b/gdb.c @@ -90,8 +90,8 @@ /* %%% local vars %%% */ -/* static char gdb_release[] = "$Revision: 1.47 $"; */ -static char gdb_release_date[] = "$Date: 2007/02/14 14:25:36 $"; +/* static char gdb_release[] = "$Revision: 1.48 $"; */ +static char gdb_release_date[] = "$Date: 2007/02/20 20:51:15 $"; static FILE *fin, *fout; static char *fin_name, *fout_name; @@ -700,6 +700,8 @@ gdb_read_route(void) #ifdef GDB_DEBUG gdb_print_buff(buff, 8, "Unknown bytes within rte_reed_loop"); #endif + if (gdb_ver >= 3) + gdb_fread(buff, 8); /* a second block of unknown bytes */ } /* The next thing is the unknown 0x03 0x00 .. 0x00 (18 bytes) */ -- 2.30.2